switch: remove slider padding from available allocation when drawing
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 1 Mar 2011 14:00:19 +0000 (09:00 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 3 Mar 2011 22:48:25 +0000 (17:48 -0500)
commitea7661cb3f50de3bed1201916758f800220bd475
tree5c0cc8b16beeefa5e9960bbafe30a4ff33cbff5e
parent6abbd68674dc9b1ff53ce2e9d1c6ee0b3310c794
switch: remove slider padding from available allocation when drawing

This also simplifies the code a bit, and makes previous workarounds
useless.
gtk/gtkswitch.c